
package roleadminservices;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.*;

public interface RoleAdminIF extends Remote {
    /**
     * This method give decision about whether grant the target role to a applicant.
     * 
     * @param roleName	Name of the target role.
     * @param EPCClass	EPCClass value associated with the target role.
     * @param comId		Applicant company's id.
     * @return
     * @throws RemoteException
     */
    public boolean grantRole(String roleName, String EPCClass, String comId) 
    throws RemoteException;
}
